-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend puppet-lint to legacy_check yaml files #235
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #235 +/- ##
==========================================
+ Coverage 93.19% 93.25% +0.05%
==========================================
Files 55 55
Lines 1794 1824 +30
==========================================
+ Hits 1672 1701 +29
- Misses 122 123 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but needs a squish, either as part of the merge or manually beforehand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
With this PR puppet_lint will now be able to do legacy fact checks in yaml files.
I’ve limited checks to legacy facts for yaml and no auto-fixing.
Here is a test yaml file I tested against:
After running puppet-lint on this file puppet-lint will correctly flag any legacy_facts warnings:
Rspec tests are all passing: